﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace DTO.Reports
{
    [DataContract]
    public class VolumsPPS
    {
        [DataMember]
        public Section Section { get; set; }

        [DataMember]
        public Category Category { get; set; }

        [DataMember]
        public Characteristic Char { get; set; }
        
        [DataMember]
        public List<Gradation> Gradations { 
            get
            {
                return _gradarions;
            } set
        {
            _gradarions = value;
        } }

        [DataMember]
        public double Max { get; set; }

        [DataMember]
        public int IDCharGrad { get; set; }

        [DataMember]
        public string Unit { get; set; }

        [DataMember]
        public string ImagePath { get; set; }

        private List<VolumePPS> volumsPPS = new List<VolumePPS>();



        [DataMember]
        public string Volume { get; set; }

        [DataMember]
        public List<VolumePPS> Volums
        {
            get
            {
                return volumsPPS;
            }
            set
            {
                volumsPPS = value;
            }
        }

        private List<Gradation> _gradarions = new List<Gradation>();



    }
}
